module.exports = () => (
    new Promise(resolve => (
        require("child_process").exec(`git pull`, function (err, stdout, stderr) {
            if (err) {
                resolve(false)
                console.log(stderr);
            } else {
                console.log(stdout)
                console.log('拉取代码成功！');
                resolve(true)
            }
        })
))
)
